package com.windfone.service;

import java.util.List;

import com.windfone.model.Product;

public interface ProductService {
    public int deleteProduct(int keValue);
    public int getAllRecorderNumber(String whereCondition );
    public int updateProduct(Product bean);
    public int updateProductStatus( int id , int status );
    public int insertProduct(Product bean );
    public List<Product> getProductById(int keyValue);
    public List<Product> getAllProduct(int beginRecord,String whereCondition);
//	public List<Product> getHotMachine();
	public List<Product> getCommendProductByCommendType(String recommendTypeName);
	public List<Product> getAllProductByStatus(int typeId,int status);
	public List<Product> searchByReference(int typeId,double price);
	public List<Product> getAllProductByWherecondition(String whereStr);
}
